<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="com.hz.control.ActTypeControl"%>
<%@page import="com.hz.model.ActType"%>
<%@page import="com.hz.model.ParamDepartment"%>
<%@page import="com.hz.control.ParamDepartmentManager"%>
<%@page import="com.hz.util.ParamUtil"%>
<%@page import="com.hz.model.User"%>
<%@page import="com.hz.model.ApplyAct"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>申请活动</title>
    <link rel="stylesheet" type="text/css" href="../../../css/active.css"/>
  </head>
  <%//本页面id,label不要轻易修改
      request.setCharacterEncoding("utf-8");
      User cu = (User)session.getAttribute("user");
     
       ApplyAct a = new ApplyAct();
       a.setName(ParamUtil.getString(request,"name","无"));
       a.setActType(ParamUtil.getInt(request,"actType",0));
       a.setPurpose(ParamUtil.getString(request,"purpose","无"));
       a.setObject(ParamUtil.getString(request,"object","无"));
       a.setLeader(ParamUtil.getString(request,"leader","无"));
       a.setHoldTime(ParamUtil.getString(request,"holdTime","无"));
       a.setContact(ParamUtil.getString(request,"contact","无"));
       //a.setProcedure(request.getParameter("content1"));
       //a.setProcedure(request.getParameter("content1"));
     //  System.out.print("BBB"+request.getParameter("content1"));
       a.setBudget(ParamUtil.getString(request,"budget","无"));
       a.setNotes(ParamUtil.getString(request,"notes","无"));
       a.setUserId(cu.getId());
       session.setAttribute("AppAct", a);
   %>
 <body>
 <form action="ApplyActivity_add_do.jsp" method="post" name="form" id="testform">
<h1 class='title'>活动流程</h1>
<%@include file="../form.jsp" %>
<p style='text-align:center;'>
<input type="submit"  value="提交"/>&nbsp;&nbsp;&nbsp;&nbsp;
<input type="reset" value="重置"/>
</p>
</form>
</body>
</html>
